package com.engine4cloud.tdf.supervision.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.engine4cloud.tdf.common.data.web.response.PageInfo;
import com.engine4cloud.tdf.common.data.web.response.Params;
import com.engine4cloud.tdf.supervision.dto.create.KhjcPraiseCreateDTO;
import com.engine4cloud.tdf.supervision.dto.query.KhjcPraiseQueryDTO;
import com.engine4cloud.tdf.supervision.dto.result.KhjcPraiseResultDTO;
import com.engine4cloud.tdf.supervision.dto.update.KhjcPraiseUpdateDTO;
import com.engine4cloud.tdf.supervision.entity.KhjcPraiseEntity;

public interface KhjcPraiseService extends IService<KhjcPraiseEntity> {

    PageInfo<KhjcPraiseResultDTO> pageList(Params page, KhjcPraiseQueryDTO dto);

    KhjcPraiseResultDTO getById(Long id);

    Boolean create(KhjcPraiseCreateDTO dto);

    Boolean update(KhjcPraiseUpdateDTO dto);
}